package ylsb.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import ylsb.model.Medical;
import ylsb.model.MedicalExample;

public interface MedicalMapper {
    int countByExample(MedicalExample example);

    int deleteByExample(MedicalExample example);

    int deleteByPrimaryKey(String id);

    int insert(Medical record);

    int insertSelective(Medical record);

    List<Medical> selectByExample(MedicalExample example);

    Medical selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Medical record, @Param("example") MedicalExample example);

    int updateByExample(@Param("record") Medical record, @Param("example") MedicalExample example);

    int updateByPrimaryKeySelective(Medical record);

    int updateByPrimaryKey(Medical record);
}